package com.bj58.mis.apm.apm.scf.mapper;

import com.bj58.mis.apm.apm.scf.module.RocAuthCube;
import org.springframework.data.domain.Sort;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author zhangyu84
 * @create 2018/7/5
 * @since 1.0.0
 */
public interface RocAuthCubeRepository extends JpaRepository<RocAuthCube,Long> {
    @Override
    List<RocAuthCube> findAll();

    @Override
    void deleteAll();

    @Override
    List<RocAuthCube> findAll(Sort sort);

    @Override
    <S extends RocAuthCube> List<S> saveAll(Iterable<S> iterable);

    @Override
    void deleteInBatch(Iterable<RocAuthCube> iterable);

    void deleteRocAuthCubesByCubeId(String cubeId);


    List<RocAuthCube> getRocAuthCubesByCubeId(String cubeId);


}
